package com.foreverwin.jzymes.common.service;

import java.util.List;
import java.util.Map;

public interface IActivityRuleAdviceService {

    /**
     * 查询作业规则
     *
     * @param activityId
     * @return
     */
    public Map<String,String> findActivityRules(String activityId );

    /**
     * 查询作业规则
     *
     * @param activityId
     * @param ruleName
     * @return
     */
    public String findActivityRule( String activityId, String ruleName );

    /**
     * 修改作业规则
     *
     * @param activityId
     * @param ruleList
     */
    public void updateActivityRule( String activityId, List<Map<String,Object>> ruleList );

    /**
     * 修改作业规则
     *
     * @param activityId
     * @param ruleName
     * @param value
     * @return
     */
    public int updateActivityRule( String activityId, String ruleName, String value );
}
